/********************************************************************************
 *      Copyright:  (C) 2022 Nikel
 *                  All rights reserved.
 *
 *       Filename:  sign.h
 *    Description:  This head file 
 *
 *        Version:  1.0.0(15/05/22)
 *         Author:  zhouyanlin <www.zhouyanlin1222@qq.com>
 *      ChangeLog:  1, Release initial version on "15/05/22 11:13:24"
 *                 
 ********************************************************************************/


#ifndef  _SIGN_H_
#define  _SIGN_H_

#include <stdio.h>
#include <signal.h>

extern int	g_stop;  /* just using at sig_handle function */

/*********************************************************************
 FunctionName: sig_handle
 Function: make the g_stop = 1 
 Parameters: 
 Return: return 1 if ok, else return -1
 Notes:
 *********************************************************************/
void sig_handle(int signum);

#endif   /* ----- #ifndef _SIGNAL_H_  ----- */
